﻿using MT.Common.Cache;
using MT.DAL.Abstract;
using MT.Models.Entity;

namespace MT.DAL.Concrete
{
    public class BaseDbService : IBaseDbService
    {
        protected  ICacheService CacheService;

        protected AppDbContext DbContext;

        
        public BaseDbService(IServiceConstructorParams serviceConstructorParams, AppDbContext dbContext
            ) 
        {
            this.CacheService = serviceConstructorParams.CacheService;
           this.DbContext = dbContext;
        }
    }
}
